/**  
 * All rights Reserved, Designed By www.beonelot.com
 * @Package: com.jinxin.platform.eleinspect.service
 * @Filename: EleinspectMappingPointItemsService.java
 * @Description: TODO(EleinspectMappingPointItemsService接口)
 * @author: 金鑫智慧
 * @date: 2020-03-30
 * @version: V1.0
 * @Copyright: 2020 www.beonelot.com Inc. All rights reserved.
 * 注意：本内容仅限于重庆金鑫智慧科技有限公司内部传阅，禁止外泄以及用于其他的商业目的
 */
package com.jinxin.platform.cdelecinspect.service;

import com.jinxin.platform.cdelecinspect.mapper.pojo.EleinspectMappingPointItems;
import com.jinxin.platform.cdelecinspect.mapper.pojo.EleinspectPointRecords;
import com.jinxin.platform.cdelecinspect.mapper.pojo.EleinspectRecord;
import com.jinxin.platform.cdelecinspect.result.ResultEntity;

import java.util.HashMap;
import java.util.List;

/**
 * TODO(EleinspectMappingPointItemsService接口)
 * @Classn: EleinspectMappingPointItemsService
 * @author Lynn
 * @date 2020-03-30
 */

public interface EleinspectMappingPointItemsService {
    List<EleinspectMappingPointItems> list(HashMap param);

    List<EleinspectPointRecords> listPointRecords(HashMap param);

    int listPointRecordsCount(HashMap param);

    List<EleinspectMappingPointItems> listPointItems(HashMap param);

    int listPointItemsCount(HashMap param);

    int deleteByIds(List<String> idList);

    int deleteItemsByIds(List<String> idList);

    int deletePlItemsByIds(List<String> idList);

    int insert(EleinspectMappingPointItems eleinspectMappingPointItems);

    int deleteByPointId(String mappingPointId);

    int updateByKey(EleinspectMappingPointItems eleinspectMappingPointItems);

    int deleteByItemIds(List<String> idList);

    int deleteByItemId(String itemId,String pointId);

    boolean deleteAll(String params);

    ResultEntity submitItem(EleinspectMappingPointItems mappingPointItems,String lineId);

    ResultEntity clockIn(EleinspectRecord record);

    ResultEntity submitPoint(String pointId, String taskId, String lineId);
}
